package org.ruanjj.dynamicpassword;

public class Solution1 {
    public String dynamicPassword(String password,int target){
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append(password.substring(target,password.length()));
        stringBuilder.append(password.substring(0,target));
        return stringBuilder.toString();
    }
}
